Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Add Ignore property to MapAttribute, emit structure definitions in correct order #22

Closed
wants to merge 1 commit into from

Conversation

steffen-kiess
Copy link
Contributor

  • [Map (Ignore=true)] can be used to ignore a field when generating the C wrapper structure. This is useful for structures with LayoutKind.Explicit.
  • When emitting the C wrapper structures make sure all needed types are emitted before emitting a structure.

This changes are needed for mono/mono#221

…rrect order

* [Map (Ignore=true)] can be used to ignore a field when generating the C wrapper structure. This is useful for structures with LayoutKind.Explicit.

* When emitting the C wrapper structures make sure all needed types are emitted before emitting a structure.
@steffen-kiess
Copy link
Contributor Author

Ok, I did that with the current mono HEAD (76da0ed16c2c86874e8c7503c881855878319fee) and nothing changes in mono/support

@jonpryor
Copy link
Member

As per this comment, I don't think that this patch is required.

@steffen-kiess
Copy link
Contributor Author

Yes, this patch isn't requirde anymore

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants